package net.sky.oa.dao.post;
import java.util.List;
import java.util.Map;

import net.sky.oa.model.SendPost;
import com.htsoft.core.dao.BaseDao;

public interface SendPostDao extends BaseDao<SendPost> {

    public abstract List<SendPost> findByHql(String paramString);
	
	public abstract List<SendPost> findAllSendPost();
	
	public abstract List<SendPost> newPostList();
	
	public abstract List<SendPost> popularityList();
	
	public abstract  List<SendPost> newReplyList();
	
	@SuppressWarnings("unchecked")
	public Map findSendPostOptions(final String  title,final int type,final String postuser,final int currentPage,final int lineSize) throws Exception;
}
